Skip to content

feat: Trilogy semantic convention stability migration#1622

Closed
hannahramadan wants to merge 21 commits intoopen-telemetry:mainfrom
hannahramadan:trilogy_semantic_convention_stability
Closed

feat: Trilogy semantic convention stability migration#1622
hannahramadan wants to merge 21 commits intoopen-telemetry:mainfrom
hannahramadan:trilogy_semantic_convention_stability

Conversation

@hannahramadan
Copy link
Copy Markdown
Member

@hannahramadan hannahramadan commented Aug 11, 2025

This PR is intended to assist in the transition from the old to new database semantic conventions. Per the database semantic convention stability migration spec, users should be able to set the environment variable OTEL_SEMCONV_STABILITY_OPT_IN to:

  • database to emit stable conventions only
  • database/dup to emit both old and the stable conventions
  • a blank env var will emit old conventions only

The agent is required to maintain this bridge for 6 months and may drop the environment variable in the next major version and emit only the stable database and networking conventions.

This approach was approved for HTTP migration in #1547

Changes (Old -> Stable):

  • db.system → db.system.name
  • net.peer.name → server.address
  • db.name → db.namespace
  • db.statement → db.query.text

Removed in stable:

  • db.user
  • db.instance.id

Added in stable:

  • server.port
  • error.type
  • db.response.status_code

@github-actions
Copy link
Copy Markdown
Contributor

👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot

@github-actions github-actions Bot added the stale Marks an issue/PR stale label Sep 11, 2025
@kaylareopelle kaylareopelle added keep Ensures stale-bot keeps this issue/PR open blocked and removed stale Marks an issue/PR stale labels Sep 16, 2025
@hannahramadan hannahramadan marked this pull request as ready for review March 12, 2026 22:55
@hannahramadan hannahramadan marked this pull request as draft March 17, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

instrumentation-trilogy keep Ensures stale-bot keeps this issue/PR open

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants